package br.com.abenildo.modelo;

import java.util.Map;
import java.util.TreeMap;

import br.com.abenildo.exception.DeficienteNaoEncontradoException;

public  class RepositorioDeficienteMapa implements IRepositorioDeficiente{
	
	public Map<String,String> mapearDeficiente()throws DeficienteNaoEncontradoException, Exception{
	Map<String,String> mapa = new TreeMap<String, String>();
	mapa.put("ads","aluno1");
	mapa.put("fe","aluno2");
	mapa.put("rgh","aluno3");
	mapa.put("grt","aluno4");
	mapa.remove("aluno3");
	//remove apenas a chave
	System.out.println(mapa.containsKey("fe"));
	System.out.println(mapa.toString());
	for(String i: mapa.keySet());
	Object i ="Affo";
	System.out.println(mapa.get(i)+"");
	return mapa;
	
	}//corrigir aqui
}
